
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta id="viewport" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>新建任务</title>
    <link rel="stylesheet" href="../lib/weui.css">
    <link rel="stylesheet" href="../lib/style.css">
    <link rel="stylesheet" href="../lib/jquery-weui.css">
    <link rel="stylesheet" href="../css/reset.css">
    <link rel="stylesheet" href="../css/global.css">
    <link rel="stylesheet" href="../css/createTask.css">
</head>
<script type="text/javascript">
    (function() {
        var newRem = function() {
            var html = document.documentElement;
            html.style.fontSize = html.getBoundingClientRect().width / 10 + 'px';
            console.log(html.style.fontSize);
        };
        window.addEventListener('resize', newRem, false);
        newRem();
    })();
</script>
<body>
    <div class="container">
        <div class="contain-box">
            <div style="position: relative">
                <textarea maxlength="10" placeholder="点击输入内容..."></textarea>
            </div>
            <div class="weui-gallery" id="gallery">
                <span class="weui-gallery__img" id="galleryImg"></span>
                <div class="weui-gallery__opr">
                    <a href="javascript:" rel="external" class="weui-gallery__del">
                        <i class="weui-icon-delete weui-icon_gallery-delete"></i>
                    </a>
                </div>
            </div>
            <div class="weui-cells weui-cells_form">
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <div class="weui-uploader">
                            <div class="weui-uploader__bd">
                                <ul class="weui-uploader__files" id="uploaderFiles">

                                </ul>
                                <div class="weui-uploader__input-box">
                                    <input id="uploaderInput" class="weui-uploader__input js_file" type="file" accept="image/*" multiple="">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            </div>
        </div>
        <div class="list-bottom">
            <div class="post-man">执行人</div>
            <div class="user-block">
                <div class="user-list">
                    <div class="over-hidden user-list-content">张三、王大锤、嘿嘿、的道道dddddddd张三、王大锤、嘿嘿、的道道dddddddd张三、王大锤、嘿嘿、的道道dddddddd</div>
                    <span class="people-num">(5人)&nbsp;&nbsp;></span>
                </div>
            </div>
        </div>
        <div class="list-bottom">
            <div class="post-man">截止日期</div>
            <div class="user-block">
                <div class="user-list">
                    <div class="weui-cell">
                        <!--<div class="weui-cell__hd"><label for="" class="weui-label">日期时间</label></div>-->
                        <div class="">
                            <input type="text" class="weui-input" id='chooseTime' placeholder="请选择日期时间   >" />
                        </div>
                        <i class="fa fa-chevron-right"></i>
                    </div>
                </div>
            </div>
        </div>
    <div class="js_dialog" id="confirmDialog" style="display: none;">
        <div class="weui-mask"></div>
        <div class="weui-dialog">
            <div class="weui-dialog__bd">最多只能上传三张图片~</div>
            <div class="weui-dialog__ft">
                <a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_primary" id="okBtn">知道了</a>
            </div>
        </div>
    </div>

        <div class="fixed-button">
            <button class="submit">提交</button>
        </div>


</body>
<script src="../lib/jquery.min.js"></script>
<script src="../lib/jquery-weui.js"></script>
<script type="text/javascript" src="../lib/weui.min.js"></script>
<script src="../js/uploadFile.js"></script>
<script src="../js/createTask.js"></script>
</html>
